X-Git-Url: http://git.cyclocoop.org//%22http:/%22.attribut_html%28%24lesurls%5B%24numero%5D%29.%22/%22?a=blobdiff_plain;f=includes%2Fspecials%2FSpecialUserrights.php;h=4e4394d0954d9e54b6b1185dd63bc96f8350e593;hb=5f18aae76eecf54665d4301da021afb3d1ae6e13;hp=d0a0317fa8f19bea1dd794197cafdb8fdc1850db;hpb=bf9192cf51f808e5e2bbf292d404bb918b48bf04;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/specials/SpecialUserrights.php b/includes/specials/SpecialUserrights.php index d0a0317fa8..4e4394d095 100644 --- a/includes/specials/SpecialUserrights.php +++ b/includes/specials/SpecialUserrights.php @@ -140,7 +140,7 @@ class UserrightsPage extends SpecialPage { $this->setHeaders(); $this->outputHeader(); - $out->addModuleStyles( 'mediawiki.special' ); + $out->addModuleStyles( 'mediawiki.special.userrights.styles' ); $this->addHelpLink( 'Help:Assigning permissions' ); $this->switchForm(); @@ -326,8 +326,8 @@ class UserrightsPage extends SpecialPage { * @return array Tuple of added, then removed groups */ function doSaveUserGroups( $user, $add, $remove, $reason = '', $tags = [], - $groupExpiries = [] ) { - + $groupExpiries = [] + ) { // Validate input set... $isself = $user->getName() == $this->getUser()->getName(); $groups = $user->getGroups(); @@ -433,8 +433,8 @@ class UserrightsPage extends SpecialPage { * @param array $newUGMs Associative array of (group name => UserGroupMembership) */ protected function addLogEntry( $user, $oldGroups, $newGroups, $reason, $tags, - $oldUGMs, $newUGMs ) { - + $oldUGMs, $newUGMs + ) { // make sure $oldUGMs and $newUGMs are in the same order, and serialise // each UGM object to a simplified array $oldUGMs = array_map( function ( $group ) use ( $oldUGMs ) {